package com.neusoft.neuiotms.dcom.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.neusoft.bizcore.auth.common.bean.UserBean;
import com.neusoft.bizcore.web.support.Searchable;
import com.neusoft.neuiotms.dcom.dto.HandoverDTO;
import com.neusoft.neuiotms.dcom.model.enums.HandoverStatus;

public interface HandoverService {

    List<HandoverDTO> index(Searchable searchable);

    Page<HandoverDTO> search(Pageable pageable, Searchable searchable);

    HandoverDTO create(HandoverDTO dto, UserBean user);

    HandoverDTO update(Long id, HandoverDTO dto);

    HandoverDTO details(Long id);

    void delete(Long id);

    HandoverDTO updateStatus(Long id, HandoverStatus status);
}
